package com.example.normal.service;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.base.domain.PageVo;
import com.example.base.result.AjaxResult;
import com.example.normal.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wahoyu
 * @since 2023-07-23
 */
public interface IStudentService extends IService<Student> {
    Page<Student> selectVoList(Student student, PageVo pageVo);

    Integer deleteById(BigInteger id);

    List<JSONObject> getJsonObjList();

    Map<String,Object> getOneMap(BigInteger id);

    List<Map<String,Object>> getMapList();


    int updateWithNull(Student student);

    void insert(Student student);

    IPage<Student> testStudentPage(Student student, PageVo pageVo);

    List<Student> testWrapper();

    JSONObject testJSONObject(Student student);
}
